using System;
using System.Runtime.Serialization;
namespace Net35.Xrm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
	public sealed class ExecuteMultipleResponse : OrganizationResponse
	{
		public bool IsFaulted
		{
			get
			{
				return base.Results.Contains("IsFaulted") && (bool)base.Results["IsFaulted"];
			}
		}
		public ExecuteMultipleResponseItemCollection Responses
		{
			get
			{
				if (base.Results.Contains("Responses"))
				{
					return (ExecuteMultipleResponseItemCollection)base.Results["Responses"];
				}
				return null;
			}
		}
	}
}
